<template>
  <el-dialog :model-value="dialogFormVisible" :title="title" width="400">
    <slot name="center"></slot>
    <template #footer>
      <slot name="footer"></slot>
    </template>
  </el-dialog>
</template>
<script setup>
defineProps({
  dialogFormVisible: {
    type: Boolean,
    default: false,
  },
  title: {
    type: String,
    default: '',
  },
});
</script>
<style lang="scss" scope>
:deep(.el-input) {
  height: 40px !important;
  border: 1px solid #ccc !important;
  background-color: #fff !important;
}
:deep(.el-dialog__header) {
  height: 40px !important;
  min-height: 40px !important;
}
</style>
